"""
API v1 路由
"""
from fastapi import APIRouter
from app.api.v1 import (
    auth, user, venue, team, booking,
    match as match_router, wechat, upload,
    wallet, message, team_application
)

api_router = APIRouter()

# 注册子路由
api_router.include_router(auth.router, prefix="/auth", tags=["认证"])
api_router.include_router(user.router, prefix="/user", tags=["用户"])
api_router.include_router(venue.router, prefix="/venue", tags=["场地"])
api_router.include_router(team.router, prefix="/team", tags=["球队"])
api_router.include_router(team_application.router, prefix="/team-application", tags=["球队申请"])
api_router.include_router(booking.router, prefix="/booking", tags=["预约"])
api_router.include_router(match_router.router, prefix="/match", tags=["散客比赛"])
api_router.include_router(wechat.router, prefix="/wechat", tags=["微信小程序"])
api_router.include_router(upload.router, prefix="/upload", tags=["文件上传"])
api_router.include_router(wallet.router, prefix="/wallet", tags=["钱包"])
api_router.include_router(message.router, prefix="/message", tags=["消息"])

# 注：收藏功能已集成在 venue.router 中（/venue/favorite, /venue/unfavorite）
# 注：客服功能使用 message.router（消息系统）
